/**
 * 构造模糊查询条件，区分大小写
 */
export default function like(field_name: string, value: number | string | boolean) {
	const condition = {};
	condition[field_name] = { $regex: '.*' + value + '.*' };
	return condition;
}
